package com.manpower.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MpQuestionType entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "mp_question_type", catalog = "manpower")
public class MpQuestionType implements java.io.Serializable {

	// Fields

	private Integer id;
	private String questionTypeName;

	// Constructors

	/** default constructor */
	public MpQuestionType() {
	}

	/** minimal constructor */
	public MpQuestionType(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public MpQuestionType(Integer id, String questionTypeName) {
		this.id = id;
		this.questionTypeName = questionTypeName;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "question_type_name", length = 200)
	public String getQuestionTypeName() {
		return this.questionTypeName;
	}

	public void setQuestionTypeName(String questionTypeName) {
		this.questionTypeName = questionTypeName;
	}

}